#include <test_schwarz.hpp>

#include <life/lifediscr/mesh.hpp>






namespace Life
{


template<int Dim, int Order, template<uint16_type,uint16_type,uint16_type> class Entity>
void
Test_Schwarz<Dim, Order, Entity>::run()
{   
    using namespace Life::vf;

    //----------------------------------------------------------------------------------------------------------//
    
    if ( this->vm().count( "help" ) )
        {
            std::cout << this->optionsDescription() << "\n";
            return;
        }

    //----------------------------------------------------------------------------------------------------------//
    
  mesh_ptrtype mesh = createMeshTemp( meshSize );

  mesh_ptrtype meshFluid = createMeshFluid( meshSize );

    space_ptrtype Xh = space_type::New( mesh );
    element_type u( Xh, "u" );

 exportResults( u,u,u );
  //  test_data_maillage();

  //  test_interpolation();

//    test_composantes_champs();
    

} // Test_Schwarz::run


    //----------------------------------------------------------------------------------------------------------//
    //----------------------------------------------------------------------------------------------------------//
    //----------------------------------------------------------------------------------------------------------//
    //----------------------------------------------------------------------------------------------------------//
    //----------------------------------------------------------------------------------------------------------//




} // Life


// instantiation
template class Life::Test_Schwarz<2,1,Life::Simplex>;
//template class Life::Test_Schwarz<2,2,Life::Simplex>;
//template class Life::Test_Schwarz<3,2,Life::Simplex>;
